package com.puff.service;

import com.puff.dto.RiderLoginDTO;
import com.puff.dto.RiderRegisterDTO;
import com.puff.entity.Rider;
import org.apache.ibatis.annotations.Select;

public interface RiderService {

    /**
     * 骑手注册
     * @param riderRegisterDTO
     */
    void register(RiderRegisterDTO riderRegisterDTO);

    /**
     * 骑手登录
     * @param riderLoginDTO
     * @return
     */
    Rider login(RiderLoginDTO riderLoginDTO);

}
